package Correction.Gain;

import Correction.RangingCorrectionPolynomes_t;

public class RangingCorrectionSF5BW0800 {
    private static double[] cer = {
            1.2982e-09,
            -4.2047e-07,
            4.7657e-05,
            -0.002194,
            0.033782,
            0.94647,
            2.0949,};
    private static RangingCorrectionPolynomes_t polynomes_t = new RangingCorrectionPolynomes_t(7,cer);
    public static RangingCorrectionPolynomes_t getPolynomes_t()
    {
        return polynomes_t;
    }
    private static double[] array =
            {
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    629.5565,
                    -3.5078,
                    -7.8566,
                    -5.2244,
                    1.7336,
                    1.7565,
                    1.7794,
                    2.2829,
                    1.7794,
                    2.0998,
                    1.5047,
                    1.5047,
                    1.6878,
                    1.7336,
                    1.1843,
                    1.7794,
                    0.95539,
                    0.68073,
                    0.40607,
                    0.58918,
                    0.31452,
                    0.36029,
                    0.22296,
                    0.22296,
                    0.22296,
                    -0.09747,
                    0.085636,
                    0.17719,
                    0.13141,
                    -0.051693,
                    -0.14325,
                    -0.005917,
                    -0.051693,
                    0.17719,
                    0.085636,
                    -0.09747,
                    0.085636,
                    0.039859,
                    0.039859,
                    0.86383,
                    1.1843,
                    0.90961,
                    0.40607,
                    1.8251,
                    2.5576,
                    2.3287,
                    2.878,
                    2.6949,
                    2.7407,
                    3.4731,
                    4.709,
                    1.5505,
                    3.3815,
                    1.8709,
                    3.1984,
                    1.7107,
                    3.8393,
                    4.9379,
                    5.3957,
                    5.5559,
                    4.6633,
                    5.9221,
                    5.4186,
                    6.7232,
                    6.3112,
                    6.0366,
                    6.2654,
                    6.5859,
                    5.945,
                    6.1739,
                    6.1739,
                    6.6088,
                    6.9063,
                    6.1281,
                    6.7232,
                    6.0595,
                    6.4028,
                    6.8148,
                    6.7232,
                    7.3183,
                    7.3412,
                    7.4099,
                    7.5472,
                    7.9592,
                    8.5085,
                    8.4398,
                    8.5543,
                    8.7374,
                    9.3325,
                    6.7461,
                    7.3641,
                    9.9276,
                    8.1423,
                    7.6158,
                    8.2338,
                    8.0507,
                    8.1881,
                    8.1881,
                    8.0049,
                    7.9134,
                    8.9205,
                    8.5085,
                    8.394,
                    8.0278,
                    8.0965,
                    7.8218,
                    7.4327,
                    7.1581,
                    7.1581,
                    7.1581,
                    7.1581,
                    7.1581,
                    7.1581,
                    7.1581,
                    7.1581,
                    7.1581,
                    7.1581,
                    7.1581,
                    7.1581,
                    7.1581,
                    7.1581,
                    7.1581,
                    7.1581,
                    7.1581,
                    7.1581,
            };
    public static double run(int gain)
    {
        return array[gain];
    }
}
